package com.cskaoyan.service;

import com.cskaoyan.bean.MarketGoods;
import com.cskaoyan.bean.common.CommonData;

import java.util.List;

public interface GoodsService {
    void add(MarketGoods goods);

    CommonData query(Integer page, Integer limit, String sort, String order, String goodsId, String goodsSn, String name);

    MarketGoods selectById(Integer id);

    void update(MarketGoods goods);

    void delete(Integer id);

    List<MarketGoods> selectAll();

    MarketGoods selectOne(Integer goodsId);
}
